package com.rzl.expense.expense.mapper;

import java.util.List;
import com.rzl.expense.expense.domain.RentPayment;
import org.apache.ibatis.annotations.Param;

/**
 * 房租费缴费记录Mapper接口
 * 
 * @author expense
 * @date 2024-11-27
 */
public interface RentPaymentMapper 
{
    /**
     * 查询房租费缴费记录
     * 
     * @param paymentId 房租费缴费记录主键
     * @return 房租费缴费记录
     */
    public RentPayment selectRentPaymentByPaymentId(String paymentId);

    /**
     * 查询房租费缴费记录列表
     * 
     * @param rentPayment 房租费缴费记录
     * @return 房租费缴费记录集合
     */
    public List<RentPayment> selectRentPaymentList(RentPayment rentPayment);

    /**
     * 新增房租费缴费记录
     * 
     * @param rentPayment 房租费缴费记录
     * @return 结果
     */
    public int insertRentPayment(RentPayment rentPayment);

    /**
     * 修改房租费缴费记录
     * 
     * @param rentPayment 房租费缴费记录
     * @return 结果
     */
    public int updateRentPayment(RentPayment rentPayment);

    /**
     * 删除房租费缴费记录
     * 
     * @param paymentId 房租费缴费记录主键
     * @return 结果
     */
    public int deleteRentPayment(@Param("startDate") String startDate, @Param("endDate") String endDate);

    /**
     * 批量删除房租费缴费记录
     * 
     * @param paymentIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRentPaymentByPaymentIds(String[] paymentIds);

    public void batchRentPayment(List<RentPayment> list);

}
